package cn.com.haopt.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author haopt
 * @version 1.0
 * @date 2021/4/25 12:00
 */
@Component
@ConfigurationProperties(prefix = "udpserver")
public class UdpServerConfig {
    /**
     * 端口
     */
    private int port;


    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
